package fr.poy.test.client.temp;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

//@PersistenceCapable(identityType = IdentityType.APPLICATION)
//@SuppressWarnings("serial")
public class Ref implements Serializable{
	
//	@PrimaryKey
	private String name;
	 
	private RefType type; 
	
	private String comment;
	private Boolean active;
	
	
	
	public Ref() { 
	}
	 
	public Ref(String name, RefType type, String comment, Boolean active) {
		super();
		this.name = name;
		this.type = type;
		this.comment = comment;
		this.active = active;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public RefType getType() {
		return type;
	}



	public void setType(RefType type) {
		this.type = type;
	}



	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Boolean getActive() {
		return active;
	}
	public void setActive(Boolean active) {
		this.active = active;
	}
	
	

}
